<?php
use \app\common\services\StaticService;
StaticService::includeAppJsStatic('/js/web/member/index.js',app\assets\WebAsset::className());
?>
<?=Yii::$app->view->renderFile("@app/modules/web/views/common/tab_member.php",['current'=>'index'])?>
<div class="row mg-t20 wrap_member_set">
	<div class="col-lg-12">
		<h2 class="text-center">会员设置</h2>
		<div class="form-horizontal m-t">
		<form target="member_set" action="<?UrlService::buildWebUrl('/member/set')?>">
			<div class="hr-line-dashed"></div>

			<div class="form-group">
				<label class="col-lg-2 control-label">会员名称:</label>
				<div class="col-lg-10">
					<input type="text" class="form-control" placeholder="请输入会员名称" name="nickname" value="<?=isset($info['nickname'])?$info['nickname']:''?>">
				</div>
			</div>
			<div class="hr-line-dashed"></div>
			<div class="form-group">
				<label class="col-lg-2 control-label">会员手机:</label>
				<div class="col-lg-10">
					<input type="text" class="form-control" placeholder="请输入会员手机" name="mobile" value="<?=isset($info['mobile'])?$info['mobile']:''?>">
				</div>
			</div>
			<div class="hr-line-dashed"></div>
			<div class="form-group">
				<div class="col-lg-4 col-lg-offset-2">
					<input type="hidden" name="id" value="<?=isset($info['id'])?$info['id']:0
				?>">
					<button class="btn btn-w-m btn-outline btn-primary save">保存</button>
				</div>
			</div>
		</form>
		</div>

	</div>
</div>

	</div>
</div>
<iframe name="member_set" class="hide"></iframe>

